using HKB.Common;
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Diagnostics;
namespace HKB.Data.Dal.H_SiteConfigTableAdapters
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), DataObject(true), HelpKeyword("vs.data.TableAdapter"), Designer("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), DesignerCategory("code"), ToolboxItem(true)]
	public class HL_SetupTableAdapter : Component
	{
		private SqlDataAdapter _adapter;
		private SqlConnection _connection;
		private SqlCommand[] _commandCollection;
		private bool _clearBeforeFill;
		[System.Diagnostics.DebuggerNonUserCode]
		private SqlDataAdapter Adapter
		{
			get
			{
				if (this._adapter == null)
				{
					this.InitAdapter();
				}
				return this._adapter;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal SqlConnection Connection
		{
			get
			{
				if (this._connection == null)
				{
					this.InitConnection();
				}
				return this._connection;
			}
			set
			{
				this._connection = value;
				if (this.Adapter.InsertCommand != null)
				{
					this.Adapter.InsertCommand.Connection = value;
				}
				if (this.Adapter.DeleteCommand != null)
				{
					this.Adapter.DeleteCommand.Connection = value;
				}
				if (this.Adapter.UpdateCommand != null)
				{
					this.Adapter.UpdateCommand.Connection = value;
				}
				for (int i = 0; i < this.CommandCollection.Length; i++)
				{
					if (this.CommandCollection[i] != null)
					{
						this.CommandCollection[i].Connection = value;
					}
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected SqlCommand[] CommandCollection
		{
			get
			{
				if (this._commandCollection == null)
				{
					this.InitCommandCollection();
				}
				return this._commandCollection;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public bool ClearBeforeFill
		{
			get
			{
				return this._clearBeforeFill;
			}
			set
			{
				this._clearBeforeFill = value;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public HL_SetupTableAdapter()
		{
			this.ClearBeforeFill = true;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitAdapter()
		{
			this._adapter = new SqlDataAdapter();
			DataTableMapping dataTableMapping = new DataTableMapping();
			dataTableMapping.SourceTable = "Table";
			dataTableMapping.DataSetTable = "HL_Setup";
			dataTableMapping.ColumnMappings.Add("id", "id");
			dataTableMapping.ColumnMappings.Add("CloseSite", "CloseSite");
			dataTableMapping.ColumnMappings.Add("CloseMessage", "CloseMessage");
			dataTableMapping.ColumnMappings.Add("SiteName", "SiteName");
			dataTableMapping.ColumnMappings.Add("SiteUrl", "SiteUrl");
			dataTableMapping.ColumnMappings.Add("LogoUrl", "LogoUrl");
			dataTableMapping.ColumnMappings.Add("BannerUrl", "BannerUrl");
			dataTableMapping.ColumnMappings.Add("WebMasterName", "WebMasterName");
			dataTableMapping.ColumnMappings.Add("WebMasterEmail", "WebMasterEmail");
			dataTableMapping.ColumnMappings.Add("CopyRight", "CopyRight");
			dataTableMapping.ColumnMappings.Add("VersionType", "VersionType");
			dataTableMapping.ColumnMappings.Add("SiteKey", "SiteKey");
			dataTableMapping.ColumnMappings.Add("AdminDir", "AdminDir");
			dataTableMapping.ColumnMappings.Add("EnableLoginCheckCode", "EnableLoginCheckCode");
			dataTableMapping.ColumnMappings.Add("TryLoginTimes", "TryLoginTimes");
			dataTableMapping.ColumnMappings.Add("LoginInterval", "LoginInterval");
			dataTableMapping.ColumnMappings.Add("LoginIPBan", "LoginIPBan");
			dataTableMapping.ColumnMappings.Add("LoginIPAccess", "LoginIPAccess");
			dataTableMapping.ColumnMappings.Add("EnableReg", "EnableReg");
			dataTableMapping.ColumnMappings.Add("EnableRegCode", "EnableRegCode");
			dataTableMapping.ColumnMappings.Add("EnableEmailOnce", "EnableEmailOnce");
			dataTableMapping.ColumnMappings.Add("EnablePasswordCheck", "EnablePasswordCheck");
			dataTableMapping.ColumnMappings.Add("RegConfirm", "RegConfirm");
			dataTableMapping.ColumnMappings.Add("RegEmailContent", "RegEmailContent");
			dataTableMapping.ColumnMappings.Add("RegPresent1", "RegPresent1");
			dataTableMapping.ColumnMappings.Add("RegPresent2", "RegPresent2");
			dataTableMapping.ColumnMappings.Add("RegPresent3", "RegPresent3");
			dataTableMapping.ColumnMappings.Add("RegPresent4", "RegPresent4");
			dataTableMapping.ColumnMappings.Add("RegNameSet", "RegNameSet");
			dataTableMapping.ColumnMappings.Add("RegURLSet", "RegURLSet");
			dataTableMapping.ColumnMappings.Add("RegIPOnce", "RegIPOnce");
			dataTableMapping.ColumnMappings.Add("RegURl", "RegURl");
			dataTableMapping.ColumnMappings.Add("RegSendMsg", "RegSendMsg");
			dataTableMapping.ColumnMappings.Add("RegAnswerCheck", "RegAnswerCheck");
			dataTableMapping.ColumnMappings.Add("RegQuestion", "RegQuestion");
			dataTableMapping.ColumnMappings.Add("RegAnswer", "RegAnswer");
			dataTableMapping.ColumnMappings.Add("RegMsgContent", "RegMsgContent");
			dataTableMapping.ColumnMappings.Add("RegProtocalContent", "RegProtocalContent");
			dataTableMapping.ColumnMappings.Add("RegBanEmail", "RegBanEmail");
			dataTableMapping.ColumnMappings.Add("RegBanName", "RegBanName");
			dataTableMapping.ColumnMappings.Add("RegNameMin", "RegNameMin");
			dataTableMapping.ColumnMappings.Add("RegNameMax", "RegNameMax");
			dataTableMapping.ColumnMappings.Add("RegItems", "RegItems");
			dataTableMapping.ColumnMappings.Add("EnableRegSelectItem", "EnableRegSelectItem");
			dataTableMapping.ColumnMappings.Add("MailObject", "MailObject");
			dataTableMapping.ColumnMappings.Add("MailSmtpServer", "MailSmtpServer");
			dataTableMapping.ColumnMappings.Add("MailServerUserName", "MailServerUserName");
			dataTableMapping.ColumnMappings.Add("MailServerPassWord", "MailServerPassWord");
			dataTableMapping.ColumnMappings.Add("MailServerFrom", "MailServerFrom");
			dataTableMapping.ColumnMappings.Add("GuestBookEnable", "GuestBookEnable");
			dataTableMapping.ColumnMappings.Add("GuestBookEnableVistor", "GuestBookEnableVistor");
			dataTableMapping.ColumnMappings.Add("GuestBookCheckCode", "GuestBookCheckCode");
			dataTableMapping.ColumnMappings.Add("GuestBookCheck", "GuestBookCheck");
			dataTableMapping.ColumnMappings.Add("GuestBookShowIP", "GuestBookShowIP");
			dataTableMapping.ColumnMappings.Add("SystemSet", "SystemSet");
			dataTableMapping.ColumnMappings.Add("WebLiveSet", "WebLiveSet");
			dataTableMapping.ColumnMappings.Add("SecurityKey", "SecurityKey");
			dataTableMapping.ColumnMappings.Add("AdminSecurityKey", "AdminSecurityKey");
			dataTableMapping.ColumnMappings.Add("DomainName", "DomainName");
			dataTableMapping.ColumnMappings.Add("HLIntegration", "HLIntegration");
			dataTableMapping.ColumnMappings.Add("MessageOfOrderConfirm", "MessageOfOrderConfirm");
			dataTableMapping.ColumnMappings.Add("MessageOfReceiveMoney", "MessageOfReceiveMoney");
			dataTableMapping.ColumnMappings.Add("MessageOfRefund", "MessageOfRefund");
			dataTableMapping.ColumnMappings.Add("MessageOfDeliver", "MessageOfDeliver");
			dataTableMapping.ColumnMappings.Add("MessageOfConfrimEmail", "MessageOfConfrimEmail");
			dataTableMapping.ColumnMappings.Add("MessageOfConfrimPassword", "MessageOfConfrimPassword");
			dataTableMapping.ColumnMappings.Add("MessageOfSendCard", "MessageOfSendCard");
			dataTableMapping.ColumnMappings.Add("RegPageSet", "RegPageSet");
			this._adapter.TableMappings.Add(dataTableMapping);
			this._adapter.DeleteCommand = new SqlCommand();
			this._adapter.DeleteCommand.Connection = this.Connection;
			this._adapter.DeleteCommand.CommandText = "DELETE FROM [HL_Setup] WHERE (([id] = @Original_id))";
			this._adapter.DeleteCommand.CommandType = CommandType.Text;
			this._adapter.DeleteCommand.Parameters.Add(new SqlParameter("@Original_id", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "id", DataRowVersion.Original, false, null, "", "", ""));
			this._adapter.InsertCommand = new SqlCommand();
			this._adapter.InsertCommand.Connection = this.Connection;
			this._adapter.InsertCommand.CommandText = "INSERT INTO [HL_Setup] ([CloseSite], [CloseMessage], [SiteName], [SiteUrl], [LogoUrl], [BannerUrl], [WebMasterName], [WebMasterEmail], [CopyRight], [VersionType], [SiteKey], [AdminDir], [EnableLoginCheckCode], [TryLoginTimes], [LoginInterval], [LoginIPBan], [LoginIPAccess], [EnableReg], [EnableRegCode], [EnableEmailOnce], [EnablePasswordCheck], [RegConfirm], [RegEmailContent], [RegPresent1], [RegPresent2], [RegPresent3], [RegPresent4], [RegNameSet], [RegURLSet], [RegIPOnce], [RegURl], [RegSendMsg], [RegAnswerCheck], [RegQuestion], [RegAnswer], [RegMsgContent], [RegProtocalContent], [RegBanEmail], [RegBanName], [RegNameMin], [RegNameMax], [RegItems], [EnableRegSelectItem], [MailObject], [MailSmtpServer], [MailServerUserName], [MailServerPassWord], [MailServerFrom], [GuestBookEnable], [GuestBookEnableVistor], [GuestBookCheckCode], [GuestBookCheck], [GuestBookShowIP], [SystemSet], [WebLiveSet], [SecurityKey], [AdminSecurityKey], [DomainName], [HLIntegration], [MessageOfOrderConfirm], [MessageOfReceiveMoney], [MessageOfRefund], [MessageOfDeliver], [MessageOfConfrimEmail], [MessageOfConfrimPassword], [MessageOfSendCard], [RegPageSet]) VALUES (@CloseSite, @CloseMessage, @SiteName, @SiteUrl, @LogoUrl, @BannerUrl, @WebMasterName, @WebMasterEmail, @CopyRight, @VersionType, @SiteKey, @AdminDir, @EnableLoginCheckCode, @TryLoginTimes, @LoginInterval, @LoginIPBan, @LoginIPAccess, @EnableReg, @EnableRegCode, @EnableEmailOnce, @EnablePasswordCheck, @RegConfirm, @RegEmailContent, @RegPresent1, @RegPresent2, @RegPresent3, @RegPresent4, @RegNameSet, @RegURLSet, @RegIPOnce, @RegURl, @RegSendMsg, @RegAnswerCheck, @RegQuestion, @RegAnswer, @RegMsgContent, @RegProtocalContent, @RegBanEmail, @RegBanName, @RegNameMin, @RegNameMax, @RegItems, @EnableRegSelectItem, @MailObject, @MailSmtpServer, @MailServerUserName, @MailServerPassWord, @MailServerFrom, @GuestBookEnable, @GuestBookEnableVistor, @GuestBookCheckCode, @GuestBookCheck, @GuestBookShowIP, @SystemSet, @WebLiveSet, @SecurityKey, @AdminSecurityKey, @DomainName, @HLIntegration, @MessageOfOrderConfirm, @MessageOfReceiveMoney, @MessageOfRefund, @MessageOfDeliver, @MessageOfConfrimEmail, @MessageOfConfrimPassword, @MessageOfSendCard, @RegPageSet)";
			this._adapter.InsertCommand.CommandType = CommandType.Text;
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@CloseSite", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "CloseSite", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@CloseMessage", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "CloseMessage", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@SiteName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@SiteUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@LogoUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "LogoUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@BannerUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "BannerUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@WebMasterName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "WebMasterName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@WebMasterEmail", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "WebMasterEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@CopyRight", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "CopyRight", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@VersionType", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "VersionType", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@SiteKey", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@AdminDir", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "AdminDir", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnableLoginCheckCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableLoginCheckCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@TryLoginTimes", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "TryLoginTimes", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@LoginInterval", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "LoginInterval", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@LoginIPBan", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "LoginIPBan", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@LoginIPAccess", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "LoginIPAccess", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnableReg", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableReg", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnableRegCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableRegCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnableEmailOnce", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableEmailOnce", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnablePasswordCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnablePasswordCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegConfirm", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegConfirm", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegEmailContent", SqlDbType.NText, 0, ParameterDirection.Input, 0, 0, "RegEmailContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegPresent1", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent1", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegPresent2", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent2", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegPresent3", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent3", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegPresent4", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent4", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegNameSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegURLSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegURLSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegIPOnce", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegIPOnce", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegURl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegURl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegSendMsg", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegSendMsg", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegAnswerCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegAnswerCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegQuestion", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegQuestion", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegAnswer", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegAnswer", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegMsgContent", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegMsgContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegProtocalContent", SqlDbType.NText, 0, ParameterDirection.Input, 0, 0, "RegProtocalContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegBanEmail", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegBanEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegBanName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegBanName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegNameMin", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameMin", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegNameMax", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameMax", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegItems", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegItems", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@EnableRegSelectItem", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableRegSelectItem", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MailObject", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailObject", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MailSmtpServer", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailSmtpServer", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MailServerUserName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerUserName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MailServerPassWord", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerPassWord", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MailServerFrom", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerFrom", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@GuestBookEnable", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookEnable", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@GuestBookEnableVistor", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookEnableVistor", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@GuestBookCheckCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookCheckCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@GuestBookCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@GuestBookShowIP", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookShowIP", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@SystemSet", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SystemSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@WebLiveSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "WebLiveSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@SecurityKey", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "SecurityKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@AdminSecurityKey", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "AdminSecurityKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@DomainName", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "DomainName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@HLIntegration", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "HLIntegration", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfOrderConfirm", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfOrderConfirm", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfReceiveMoney", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfReceiveMoney", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfRefund", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfRefund", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfDeliver", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfDeliver", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfConfrimEmail", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfConfrimEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfConfrimPassword", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfConfrimPassword", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@MessageOfSendCard", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfSendCard", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.InsertCommand.Parameters.Add(new SqlParameter("@RegPageSet", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "RegPageSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand = new SqlCommand();
			this._adapter.UpdateCommand.Connection = this.Connection;
			this._adapter.UpdateCommand.CommandText = "UPDATE [HL_Setup] SET [CloseSite] = @CloseSite, [CloseMessage] = @CloseMessage, [SiteName] = @SiteName, [SiteUrl] = @SiteUrl, [LogoUrl] = @LogoUrl, [BannerUrl] = @BannerUrl, [WebMasterName] = @WebMasterName, [WebMasterEmail] = @WebMasterEmail, [CopyRight] = @CopyRight, [VersionType] = @VersionType, [SiteKey] = @SiteKey, [AdminDir] = @AdminDir, [EnableLoginCheckCode] = @EnableLoginCheckCode, [TryLoginTimes] = @TryLoginTimes, [LoginInterval] = @LoginInterval, [LoginIPBan] = @LoginIPBan, [LoginIPAccess] = @LoginIPAccess, [EnableReg] = @EnableReg, [EnableRegCode] = @EnableRegCode, [EnableEmailOnce] = @EnableEmailOnce, [EnablePasswordCheck] = @EnablePasswordCheck, [RegConfirm] = @RegConfirm, [RegEmailContent] = @RegEmailContent, [RegPresent1] = @RegPresent1, [RegPresent2] = @RegPresent2, [RegPresent3] = @RegPresent3, [RegPresent4] = @RegPresent4, [RegNameSet] = @RegNameSet, [RegURLSet] = @RegURLSet, [RegIPOnce] = @RegIPOnce, [RegURl] = @RegURl, [RegSendMsg] = @RegSendMsg, [RegAnswerCheck] = @RegAnswerCheck, [RegQuestion] = @RegQuestion, [RegAnswer] = @RegAnswer, [RegMsgContent] = @RegMsgContent, [RegProtocalContent] = @RegProtocalContent, [RegBanEmail] = @RegBanEmail, [RegBanName] = @RegBanName, [RegNameMin] = @RegNameMin, [RegNameMax] = @RegNameMax, [RegItems] = @RegItems, [EnableRegSelectItem] = @EnableRegSelectItem, [MailObject] = @MailObject, [MailSmtpServer] = @MailSmtpServer, [MailServerUserName] = @MailServerUserName, [MailServerPassWord] = @MailServerPassWord, [MailServerFrom] = @MailServerFrom, [GuestBookEnable] = @GuestBookEnable, [GuestBookEnableVistor] = @GuestBookEnableVistor, [GuestBookCheckCode] = @GuestBookCheckCode, [GuestBookCheck] = @GuestBookCheck, [GuestBookShowIP] = @GuestBookShowIP, [SystemSet] = @SystemSet, [WebLiveSet] = @WebLiveSet, [SecurityKey] = @SecurityKey, [AdminSecurityKey] = @AdminSecurityKey, [DomainName] = @DomainName, [HLIntegration] = @HLIntegration, [MessageOfOrderConfirm] = @MessageOfOrderConfirm, [MessageOfReceiveMoney] = @MessageOfReceiveMoney, [MessageOfRefund] = @MessageOfRefund, [MessageOfDeliver] = @MessageOfDeliver, [MessageOfConfrimEmail] = @MessageOfConfrimEmail, [MessageOfConfrimPassword] = @MessageOfConfrimPassword, [MessageOfSendCard] = @MessageOfSendCard, [RegPageSet] = @RegPageSet WHERE (([id] = @Original_id))";
			this._adapter.UpdateCommand.CommandType = CommandType.Text;
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@CloseSite", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "CloseSite", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@CloseMessage", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "CloseMessage", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@SiteName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@SiteUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@LogoUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "LogoUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@BannerUrl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "BannerUrl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@WebMasterName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "WebMasterName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@WebMasterEmail", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "WebMasterEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@CopyRight", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "CopyRight", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@VersionType", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "VersionType", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@SiteKey", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SiteKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@AdminDir", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "AdminDir", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnableLoginCheckCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableLoginCheckCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@TryLoginTimes", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "TryLoginTimes", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@LoginInterval", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "LoginInterval", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@LoginIPBan", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "LoginIPBan", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@LoginIPAccess", SqlDbType.Text, 0, ParameterDirection.Input, 0, 0, "LoginIPAccess", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnableReg", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableReg", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnableRegCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableRegCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnableEmailOnce", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableEmailOnce", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnablePasswordCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnablePasswordCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegConfirm", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegConfirm", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegEmailContent", SqlDbType.NText, 0, ParameterDirection.Input, 0, 0, "RegEmailContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegPresent1", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent1", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegPresent2", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent2", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegPresent3", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent3", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegPresent4", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegPresent4", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegNameSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegURLSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegURLSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegIPOnce", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegIPOnce", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegURl", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegURl", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegSendMsg", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegSendMsg", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegAnswerCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegAnswerCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegQuestion", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegQuestion", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegAnswer", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegAnswer", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegMsgContent", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegMsgContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegProtocalContent", SqlDbType.NText, 0, ParameterDirection.Input, 0, 0, "RegProtocalContent", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegBanEmail", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegBanEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegBanName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegBanName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegNameMin", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameMin", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegNameMax", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "RegNameMax", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegItems", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "RegItems", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@EnableRegSelectItem", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "EnableRegSelectItem", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MailObject", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailObject", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MailSmtpServer", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailSmtpServer", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MailServerUserName", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerUserName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MailServerPassWord", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerPassWord", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MailServerFrom", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "MailServerFrom", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@GuestBookEnable", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookEnable", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@GuestBookEnableVistor", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookEnableVistor", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@GuestBookCheckCode", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookCheckCode", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@GuestBookCheck", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookCheck", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@GuestBookShowIP", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "GuestBookShowIP", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@SystemSet", SqlDbType.NVarChar, 0, ParameterDirection.Input, 0, 0, "SystemSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@WebLiveSet", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "WebLiveSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@SecurityKey", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "SecurityKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@AdminSecurityKey", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "AdminSecurityKey", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@DomainName", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "DomainName", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@HLIntegration", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "HLIntegration", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfOrderConfirm", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfOrderConfirm", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfReceiveMoney", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfReceiveMoney", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfRefund", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfRefund", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfDeliver", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfDeliver", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfConfrimEmail", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfConfrimEmail", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfConfrimPassword", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfConfrimPassword", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@MessageOfSendCard", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "MessageOfSendCard", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@RegPageSet", SqlDbType.VarChar, 0, ParameterDirection.Input, 0, 0, "RegPageSet", DataRowVersion.Current, false, null, "", "", ""));
			this._adapter.UpdateCommand.Parameters.Add(new SqlParameter("@Original_id", SqlDbType.Int, 0, ParameterDirection.Input, 0, 0, "id", DataRowVersion.Original, false, null, "", "", ""));
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitConnection()
		{
			this._connection = new SqlConnection();
			this._connection.ConnectionString = Conn.CurrenConnectionStrings;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitCommandCollection()
		{
			this._commandCollection = new SqlCommand[1];
			this._commandCollection[0] = new SqlCommand();
			this._commandCollection[0].Connection = this.Connection;
			this._commandCollection[0].CommandText = "SELECT TOP 1 id, CloseSite, CloseMessage, SiteName, SiteUrl, LogoUrl, BannerUrl, \r\n      WebMasterName, WebMasterEmail, CopyRight, VersionType, SiteKey, AdminDir, \r\n      EnableLoginCheckCode, TryLoginTimes, LoginInterval, LoginIPBan, LoginIPAccess, \r\n      EnableReg, EnableRegCode, EnableEmailOnce, EnablePasswordCheck, RegConfirm, \r\n      RegEmailContent, RegPresent1, RegPresent2, RegPresent3, RegPresent4, \r\n      RegNameSet, RegURLSet, RegIPOnce, RegURl, RegSendMsg, RegAnswerCheck, \r\n      RegQuestion, RegAnswer, RegMsgContent, RegProtocalContent, RegBanEmail, \r\n      RegBanName, RegNameMin, RegNameMax, RegItems, EnableRegSelectItem, \r\n      MailObject, MailSmtpServer, MailServerUserName, MailServerPassWord, \r\n      MailServerFrom, GuestBookEnable, GuestBookEnableVistor, GuestBookCheckCode, \r\n      GuestBookCheck, GuestBookShowIP, SystemSet, WebLiveSet, SecurityKey, \r\n      AdminSecurityKey, DomainName, HLIntegration, MessageOfOrderConfirm, \r\n      MessageOfReceiveMoney, MessageOfRefund, MessageOfDeliver, \r\n      MessageOfConfrimEmail, MessageOfConfrimPassword, MessageOfSendCard, \r\n      RegPageSet\r\nFROM HL_Setup";
			this._commandCollection[0].CommandType = CommandType.Text;
		}
		[DataObjectMethod(DataObjectMethodType.Select, true), HelpKeyword("vs.data.TableAdapter"), System.Diagnostics.DebuggerNonUserCode]
		public virtual H_SiteConfig.HL_SetupDataTable GetSiteConfig()
		{
			this.Adapter.SelectCommand = this.CommandCollection[0];
			H_SiteConfig.HL_SetupDataTable hL_SetupDataTable = new H_SiteConfig.HL_SetupDataTable();
			this.Adapter.Fill(hL_SetupDataTable);
			return hL_SetupDataTable;
		}
		[HelpKeyword("vs.data.TableAdapter"), System.Diagnostics.DebuggerNonUserCode]
		public virtual int Update(H_SiteConfig.HL_SetupDataTable dataTable)
		{
			return this.Adapter.Update(dataTable);
		}
		[HelpKeyword("vs.data.TableAdapter"), System.Diagnostics.DebuggerNonUserCode]
		public virtual int Update(H_SiteConfig dataSet)
		{
			return this.Adapter.Update(dataSet, "HL_Setup");
		}
		[HelpKeyword("vs.data.TableAdapter"), System.Diagnostics.DebuggerNonUserCode]
		public virtual int Update(DataRow dataRow)
		{
			return this.Adapter.Update(new DataRow[]
			{
				dataRow
			});
		}
		[HelpKeyword("vs.data.TableAdapter"), System.Diagnostics.DebuggerNonUserCode]
		public virtual int Update(DataRow[] dataRows)
		{
			return this.Adapter.Update(dataRows);
		}
	}
}
